import { lazy } from "react";

const ly=[

// {path:"/xq",component:lazy(()=>import('../pege/xq')),title:"详情"},
{path:"/index",component:lazy(()=>import('../pege/home')),
children:[
    {path:"/index/index",component:lazy(()=>import('../pege/index/index')),title:"首页"},
    {path:"/index/fl",component:lazy(()=>import('../pege/index/fl')),title:"分类"},
    {path:"/index/gwc",component:lazy(()=>import('../pege/index/gwc')),title:"购物车"},
    {path:"/index/my",component:lazy(()=>import('../pege/index/my')),title:"我的"},
    {path:"/index",to:"/index/index"}
]
},
{path:"/",to:"/index"},

]
export default ly